<?php /*a:2:{s:61:"/docker/www/order_meal/PHP/app/index/view/passport/login.html";i:1638597550;s:60:"/docker/www/order_meal/PHP/app/index/view/layout/layout.html";i:1638597550;}*/ ?>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title><?php echo htmlentities($web['name']); ?> - <?php echo htmlentities($title); ?></title>
		<meta name="author" content="<?php echo htmlentities($web['name']); ?>">
		<meta name="keywords" content="<?php echo !empty($keywords) ? htmlentities($keywords) : htmlentities($web['keywords']); ?>">
		<meta name="description" content="<?php echo !empty($description) ? htmlentities($description) : htmlentities($web['description']); ?>">
		<meta name="referrer" content="never">
		<link rel="icon" href="/favicon.png" type="image/x-icon">
        <link href="/assets/css/index.css" rel="stylesheet">
        <link rel="stylesheet" href="/assets/plugins/animate/animate.min.css">
        <link rel="stylesheet" href="/assets/plugins/amazeui/amazeui.min.css"/>
        <script src="/assets/plugins/jquery/jquery.min.js"></script>
        <link rel="stylesheet" href="/assets/css/hema.app.css"/>
        <script src="/assets/js/lang.js"></script>
    </head>
    <body id="page-top">
        <header class="am-topbar am-topbar-inverse am-topbar-fixed-top">
            <div class="main">
                <div class="am-topbar-brand index-login">
                    <a href="<?php echo url('/'); ?>"><img src="/assets/img/logo.png" /></a>
                </div>
                <div class="am-collapse am-topbar-collapse" id="doc-topbar-collapse">
                    <ul class="am-nav am-nav-pills am-topbar-nav">
                        <li class="<?php echo $key=='index' ? 'am-active' : ''; ?>" data-am-dropdown>
                            <a href="<?php echo url('/'); ?>">首页</a>
                        </li>
                        <li class="<?php echo $key=='proxy' ? 'am-active' : ''; ?>" data-am-dropdown>
                            <a href="<?php echo url('proxy/index'); ?>">招商加盟</a>
                        </li>
                        <li class="<?php echo $key=='contact' ? 'am-active' : ''; ?>" data-am-dropdown>
                            <a href="<?php echo url('contact/index'); ?>">联系我们</a>
                        </li>
                    </ul>
                    <form class="am-topbar-form am-topbar-left am-form-inline" role="search">
                      <div class="am-form-group">
                        <input type="text" class="am-form-field am-input-sm" placeholder="搜索">
                      </div>
                    </form>
                    <div class="am-topbar-right">
                    <?php if($user): ?>
                        <div class="am-dropdown" data-am-dropdown="{boundary: '.am-topbar'}">
                            <div class="am-topbar-btn am-dropdown-toggle"  style="color:#fff;" data-am-dropdown-toggle>
                                <img src="<?php echo htmlentities($user['user']['avatar']); ?>" class="user-nav-img" />
                                <?php echo htmlentities($user['user']['nickname']); ?>
                            <span class="am-icon-caret-down"></span>
                            </div>
                            <ul class="am-dropdown-content">
                                <li><a href="/user">商户中心</a></li>
                                <li><a href="<?php echo url('passport/logout'); ?>">安全退出</a></li>
                            </ul>
                        </div>
                    <?php else: ?>
                        <div class="am-dropdown" data-am-dropdown="{boundary: '.am-topbar'}">
                            <div class="am-topbar-btn am-dropdown-toggle"  style="color:#fff;" data-am-dropdown-toggle>
                                <img src="/assets/img/avatar.png" class="user-nav-img" />
                            <span class="am-icon-caret-down"></span>
                            </div>
                            <ul class="am-dropdown-content">
                              <li><a href="<?php echo url('passport/login'); ?>">商户注册</a></li>
                              <li><a href="<?php echo url('passport/login'); ?>">商户登录</a></li>
                              <li><a href="/store/food.shop.clerk/login">店长登录</a></li>
                            </ul>
                        </div>
                    <?php endif; ?>
                    </div>
                </div>
            </div>
        </header>
        <main id="mainbody">
            <script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
<div class="section">
	<div class="login-in">
		<div class="login-info">
			<div class="form">
				<div class="am-tabs" data-am-tabs="{noSwipe: 1}" id="doc-tab-demo-1">
				  	<ul class="am-tabs-nav am-nav am-nav-tabs">
				    	<li class="am-active"><a href="javascript: void(0)">微信登录</a></li>
				    	<li><a href="javascript: void(0)">密码登录</a></li>
				  	</ul>
				  	<div class="am-tabs-bd">
				     	<div class="am-tab-panel am-active ">
				     		<div id="login_container" class="login_container"></div>
				    	</div>
				    <div class="am-tab-panel">
				      	<form id="my-form" action="/index/passport/login">
								<div class="input">
									<i class="am-icon-user"></i>
									<input type="text" name="data[user_name]" value="test" placeholder="请输入账号/手机号" required>
								</div>
								<div class="input">
									<i class="am-icon-lock"></i>
									<input type="password" name="data[password]" value="test" placeholder="请输入密码" required>
								</div>
								<button class="j-submit layui-btn sub-btn" type="submit">登录</button>
							</form>
							<div class="login-nav">
								<span class="login">找回账号密码：官方公众号回复 “<a>找回账号</a>”</span>
								<span class="login">我还没有账号？微信直接扫码</span>
							</div>
				    </div>
				</div>

			</div>
		</div>
	</div>
</div>
<script>
	var obj = new WxLogin({
		id: "login_container",
		appid: "<?php echo htmlentities($app_id); ?>",
		scope: "snsapi_login",
		redirect_uri: encodeURIComponent("<?php echo htmlentities($base_url); ?>task/auth/login"), 
		state: Math.ceil(Math.random()*1000),
		style: "black",
		href: "data:text/css;base64,QGNoYXJzZXQgIlVURi04IjsKLmltcG93ZXJCb3ggLnFyY29kZSB7d2lkdGg6IDI4MHB4O30KLmltcG93ZXJCb3ggLnRpdGxlIHtkaXNwbGF5OiBub25lO30KLmltcG93ZXJCb3ggLmluZm8ge3dpZHRoOiAyODBweDt9Ci5zdGF0dXNfaWNvbiB7ZGlzcGxheTogbm9uZX0KLmltcG93ZXJCb3ggLnN0YXR1cyB7dGV4dC1hbGlnbjogY2VudGVyO30g"
	});

	$(function () {

        $('#my-form').formPost();

    });
</script>

        </main>
        <footer style="clear:both">
            <div class="section">
                <div class="foot-nav-box">
                    <div class="foot-nav">
                        <div class="nav-list">
                            <span class="title">联系我们：</span>&nbsp;&nbsp;&nbsp;
                            QQ：<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=19966591&site=qq&menu=yes">19966591</a> &nbsp;&nbsp;
                            电话：<?php echo htmlentities($web['phone']); ?> &nbsp;&nbsp;
                            <p>
                            <span class="title">上班时间：</span>&nbsp;&nbsp;&nbsp;
                            周一到周日（9:00-17:30）
                            </p>
                            <span class="title">友情链接：</span>
                            <?php foreach($link as $vo): ?> 
                                &nbsp;&nbsp;&nbsp;<a href="<?php echo $vo['url']; ?>" target="_blank"><?php echo $vo['name']; ?></a>&nbsp;&nbsp;&nbsp;丨
                            <?php endforeach; ?>
                        </div>
                        <div class="downApp">
                            <img src="<?php echo htmlentities((isset($web['qrcode']) && ($web['qrcode'] !== '')?$web['qrcode']:'/assets/img/no_pic.jpg')); ?>">
                            <p>关注我们</p>
                        </div>
                        <div class="copy">
                            Copyright© <a href="<?php echo url('/'); ?>" target="_blank"> <?php echo htmlentities($web['company']); ?></a> All rights reserved.
                            <br>
                            <a href="http://beian.miit.gov.cn/" target="_blank"><?php echo htmlentities($web['icp']); ?></a>
                        </div>
                    </div>
                </div>
            </div>
        </footer>
        <div class="RightFrame">
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=19966591&site=qq&menu=yes">
                <div class="SmallBox">
                    <div class="Pic">
                        <img src="/assets/img/index/Right-pic-TX.png"/>
                        <span></span>
                    </div>
                    <div class="Botton">
                        <em></em>联系客服
                    </div>
                </div>
            </a>
        </div>
    </body>
    <script src="/assets/plugins/wow/wow.min.js"></script>
    <script src="/assets/plugins/layer/layer.js"></script>
    <script src="/assets/plugins/jquery/jquery.form.min.js"></script>
    <script src="/assets/plugins/amazeui/amazeui.min.js"></script>
    <script src="/assets/plugins/vue/vue.min.js"></script>
    <script>
        new WOW().init();
    </script>
</html>
